package com.zby.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zby.admin.pojo.ReturnReason;
import com.zby.admin.pojo.dto.ReturnReasonDto;
import com.zby.admin.pojo.vo.ReturnReasonVo;

import java.util.List;

public interface ReturnReasonService extends IService<ReturnReason> {
    boolean add(ReturnReasonDto returnReasonDto);
    
    Page<ReturnReasonVo> getAllReasonList(Integer page, Integer pageSize, String reasonTitle);

    List<ReturnReasonVo> selectList();
}